go/types.TypeParam.obj (field)

16 uses

	go/types (current package)
		builtins.go#L865: 		tpar := NewTypeName(token.NoPos, check.pkg, tp.obj.name, nil)
		infer.go#L326: 	check.errorf(posn, _CannotInferTypeArgs, "cannot infer %s (%v)", tpar.obj.name, tpar.obj.pos)
		infer.go#L339: 		return list[0].obj.name
		infer.go#L341: 		return list[0].obj.name + " and " + list[1].obj.name
		infer.go#L350: 		b.WriteString(tname.obj.name)
		infer.go#L353: 	b.WriteString(list[n-1].obj.name)
		object.go#L273: 		return obj != t.obj
		signature.go#L153: 					tpar.bound = check.subst(tpar.obj.pos, recvTPar.bound, smap, nil)
		typeparam.go#L24: 	obj   *TypeName // corresponding type name
		typeparam.go#L47: 	typ := &TypeParam{check: check, id: id, obj: obj, index: -1, bound: constraint}
		typeparam.go#L68: func (t *TypeParam) Obj() *TypeName { return t.obj }
		typeparam.go#L135: 		pos := t.obj.pos
		typestring.go#L298: 		if t.obj == nil {
		typestring.go#L308: 			w.string(t.obj.name)